package com.wuliu.model;

import lombok.Data;

@Data
public class Business {
    private Integer id;
    private String img;
    private String name;
    private String desc;
    private String time;
    private Integer cid;
    private BusinessClass businessClass;

    public Business(Integer id, String img, String name, String desc, String time, Integer cid, BusinessClass businessClass) {
        this.id = id;
        this.img = img;
        this.name = name;
        this.desc = desc;
        this.time = time;
        this.cid = cid;
        this.businessClass = businessClass;
    }

    public Business(Integer id, String img, String name, String desc, String time, Integer cid) {
        this.id = id;
        this.img = img;
        this.name = name;
        this.desc = desc;
        this.time = time;
        this.cid = cid;
    }
}
